package com.ruoyi.info.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业信息对象 vinfo_company
 *
 * @author oy
 * @date 2022-12-16
 */
public class VinfoCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业id */
    private Long compId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String compName;

    /** 营业证号码 */
    @Excel(name = "营业证号码")
    private String busyLicenseNum;

    /** 营业证照片 */
    @Excel(name = "营业证照片")
    private String busyLicenseImage;

    /** 企业法人姓名 */
    @Excel(name = "企业法人姓名")
    private String legalPersonName;

    /** 企业法人联系电话 */
    @Excel(name = "企业法人联系电话")
    private String legalPersonPhone;

    /** 企业联系人姓名 */
    @Excel(name = "企业联系人姓名")
    private String contactPersonName;

    /** 企业联系人电话 */
    @Excel(name = "企业联系人电话")
    private String contactPersonPhone;

    /** 企业地址 */
    @Excel(name = "企业地址")
    private String location;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 是否删除 */
    private String isdel;

    public void setCompId(Long compId)
    {
        this.compId = compId;
    }

    public Long getCompId()
    {
        return compId;
    }
    public void setCompName(String compName)
    {
        this.compName = compName;
    }

    public String getCompName()
    {
        return compName;
    }
    public void setBusyLicenseNum(String busyLicenseNum)
    {
        this.busyLicenseNum = busyLicenseNum;
    }

    public String getBusyLicenseNum()
    {
        return busyLicenseNum;
    }
    public void setBusyLicenseImage(String busyLicenseImage)
    {
        this.busyLicenseImage = busyLicenseImage;
    }

    public String getBusyLicenseImage()
    {
        return busyLicenseImage;
    }
    public void setLegalPersonName(String legalPersonName)
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName()
    {
        return legalPersonName;
    }
    public void setLegalPersonPhone(String legalPersonPhone)
    {
        this.legalPersonPhone = legalPersonPhone;
    }

    public String getLegalPersonPhone()
    {
        return legalPersonPhone;
    }
    public void setContactPersonName(String contactPersonName)
    {
        this.contactPersonName = contactPersonName;
    }

    public String getContactPersonName()
    {
        return contactPersonName;
    }
    public void setContactPersonPhone(String contactPersonPhone)
    {
        this.contactPersonPhone = contactPersonPhone;
    }

    public String getContactPersonPhone()
    {
        return contactPersonPhone;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setIsdel(String isdel)
    {
        this.isdel = isdel;
    }

    public String getIsdel()
    {
        return isdel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("compId", getCompId())
            .append("compName", getCompName())
            .append("busyLicenseNum", getBusyLicenseNum())
            .append("busyLicenseImage", getBusyLicenseImage())
            .append("legalPersonName", getLegalPersonName())
            .append("legalPersonPhone", getLegalPersonPhone())
            .append("contactPersonName", getContactPersonName())
            .append("contactPersonPhone", getContactPersonPhone())
            .append("location", getLocation())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("status", getStatus())
            .append("isdel", getIsdel())
            .toString();
    }
}
